package c.francis.pojo;
import java.util.Date;
import org.springframework.stereotype.Component;
@Component
public class Subscription_dtl {
	private int id,sid,rid,residetype;
	private Date sdate,edate;
	private double price;
	public Subscription_dtl(int id, int sid, int rid, int residetype, Date sdate, Date edate, double price) {
		super();
		this.id = id;
		this.sid = sid;
		this.rid = rid;
		this.residetype = residetype;
		this.sdate = sdate;
		this.edate = edate;
		this.price = price;
	}
	public Subscription_dtl() {
		super();
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public int getRid() {
		return rid;
	}
	public void setRid(int rid) {
		this.rid = rid;
	}
	public int getResidetype() {
		return residetype;
	}
	public void setResidetype(int residetype) {
		this.residetype = residetype;
	}
	public Date getSdate() {
		return sdate;
	}
	public void setSdate(Date sdate) {
		this.sdate = sdate;
	}
	public Date getEdate() {
		return edate;
	}
	public void setEdate(Date edate) {
		this.edate = edate;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	@Override
	public String toString() {
		return "Subscription_dtl [id=" + id + ", sid=" + sid + ", rid=" + rid + ", residetype=" + residetype
				+ ", sdate=" + sdate + ", edate=" + edate + ", price=" + price + "]";
	}
}
